#include <iostream>

using namespace std;

class Person
{
public:
	//构造函数
	Person()
	{
		cout << "Person的构造函数调用" << endl;
	}
	//析构函数
	~Person()
	{
		cout << "Person的析构函数调用" << endl;
	}

};

void test01()
{
    cout << "创建对象" << endl;
	Person *p = new Person;
    cout << "释放对象" << endl;
    delete p;
    cout << "释放完成" << endl;
}

int main() {
	
	test01();

	return 0;
}
